package lesson8;


//import lesson3.Filter;
//import lesson5.Filter;
//import lesson6.Filter;
//import lesson7.Filter;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

@Component
@Qualifier(("CBF"))
public class ContentBasedFilter implements Filter {
    public ContentBasedFilter() {
        super();
        System.out.println("content-based filter constructor called");
    }
    public String[] getRecommendations(String movie){
        return new String[]{"Happy Feet","Ice Age","Shark Tale"};
    }

}
